.ToolModule {
  &.switchPanel {
    .abs;
    left: 50%;
    transform: translateX(-50%);
    top: -100px;
    display: flex;
    padding: 5px;
    z-index: 10;
    &.open {
      top: @SYSMARGINTOP;
    }
    .button {
      .rel;
      margin: 0 2px;
      padding: 5px;
      border-radius: 5px;
      .animation();
      cursor: pointer;
      &:hover {
        background-color: @theme;
      }
      &.active {
        background-color: fade(@theme,80);
      }
      .icon {
        width:24px;
        height: 24px;
        margin: 0 13px;
        display: block;
      }
      .label {
        font-size: 12px;
        height: 12px;
        line-height: 12px;
        margin-top: 4px;
        .tac;
        width: 50px;
      }
    }
  }
}